<!DOCTYPE html>
<html>
	<include file="Public:html" />

	<body>
		<include file="Public:head" />
		<div class="container">
			<h2 class="page-title">用户注册</h2>
			<form role="form" class="form-horizontal col-sm-6 col-sm-offset-2" action="/oj/user/register" method="POST">
				<div class="form-group">
					<label for="username" class="col-sm-5 control-label">用户名</label>
					<div class="col-sm-7">
						<input class="form-control" id="username" name="username" type="text" placeholder="3 至 15 字，必填"></div>
				</div>
				<div class="form-group">
					<label class="col-sm-5 control-label" for="nick">昵称</label>
					<div class="col-sm-7">
						<input class="form-control" name="nick" id="nick" type="text" placeholder="10 字以下">
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-5 control-label" for="password">密码</label>
					<div class="col-sm-7">
						<input class="form-control" id="password" name="password" type="password" placeholder="6 字以上，必填">
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-5 control-label" for="confirm">重复密码</label>
					<div class="col-sm-7">
						<input class="form-control" id="confirm" name="confirm" type="password" placeholder="必填">
					</div>
				</div>
				<div class="form-group">
					<label class="col-sm-5 control-label" for="grade">年级</label>
					<div class="col-sm-7">
						<input class="form-control" name="grade" id="grade" type="text" placeholder="30 字以下">
					</div>
				</div>
				<div class="form-group">
					<div class="col-sm-offset-5 col-sm-7">
						<input type="submit" class="btn btn-primary col-sm-8" value="注册">
					</div>
				</div>
			</form>
		</div>
		<include file="Public:foot" />
	</body>

</html>